import type { PropDefines } from "@/components/AuTable/type";

export const TREND_TITLE = "tea_infuser.dashboard.trend_title";
export const DATA_SUMMARY_TITLE = "tea_infuser.dashboard.data_summary_title";
export const MATERIAL_TITLE = "tea_infuser.dashboard.material_title";
export const ALARM_TITLE = "tea_infuser.dashboard.alarm_title";

export const TREND_TITLE_G = "tea_infuser.dashboard.trend_title_g";
export const MATERIAL_TOP_5 = "tea_infuser.dashboard.material_top_5";
export const MATERIAL_TABLE_TITLE =
  "tea_infuser.dashboard.material_table_title";
export const TREND_TITLE_B = "tea_infuser.dashboard.trend_title_b";
export const PROD_TOP_5 = "tea_infuser.dashboard.prod_top_5";
export const PROD_TABLE_TITLE = "tea_infuser.dashboard.prod_table_title";

export const LETTER_LIST = [
  "A",
  "B",
  "C",
  "D",
  "E",
  "F",
  "G",
  "H",
  "I",
  "J",
  "K",
  "L",
  "M",
  "N",
  "O",
  "P",
  "Q",
  "R",
  "S",
  "T",
  "U",
  "V",
  "W",
  "X",
  "Y",
  "Z"
];

export const gridOptionBase: PropDefines = {
  isServerPage: false,
  showIndex: false,
  showExportBtn: false,
  columns: [],
  actions: [],
  dataSource: [],
  vxeTableConfig: {
    mergeCells: [],
    stripe: false,
    border: true,
    pagerConfig: {
      enabled: false,
      currentPage: 1,
      pageSize: 20,
      total: 0,
      layouts: [
        "Home",
        "PrevJump",
        "PrevPage",
        "Number",
        "NextPage",
        "NextJump",
        "End",
        "FullJump"
      ]
    }
  }
};
